#include<bits/stdc++.h>
using namespace std;
long long a1,b1,n,x,a[200005];
int bz,bz1;
int main()
{
	freopen("sequence.in","r",stdin);
	freopen("sequence.out","w",stdout);
	cin>>n;
	a1=n/2;
	if(n%2==1)
	{
		a1=a1+1;
	}
	b1=a1+1;
	for(int i=1;i<=n;i++)
	{
		cin>>x;
		if(i%2==1)
		{
			if(bz==1)
			a1=a1-1;
			bz=1;
			a[a1]=x;
		}
		else
		{
			if(bz1==1)
			b1=b1+1;
			bz1=1;
			a[b1]=x;
		}
	}
	if(n%2==1)
	{
		for(int i=a1;i<=b1;i++)
		{
			cout<<a[i]<<" ";
		}
	}
	else
	{
		for(int i=b1;i>=a1;i--)
		{
			cout<<a[i]<<" ";
		}
	}
	fclose(stdin);
	fclose(stdout);
	return 0;
}
